﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Capricornus;

namespace Entities
{
    public class EmployeesOfLocation
    {
        public string IdEmployee { get; set; }

        [DisplayName("全名")]
        public string FullName { get; set; }

        [DisplayName("简拼")]
        public string SimplePinyin { get; set; }

        [DisplayName("部门名称")]
        public string DeptName { get; set; }
    }

    public class EmployeesOfLocationBll : DBCommon<EmployeesOfLocation>
    {
        public override string TableName
        {
            get { return "EmployeesOfLocation"; }
        }

        public override string PrimaryKey
        {
            get { return "IdEmployee"; }
        }

        public override string ConnKey
        {
            get { return "default"; }
        }

        public override string ParaF
        {
            get { return "@"; }
        }
    }
}